pull: Write .commitpartial for local pulls first too
authorColin Walters <walters@verbum.org>
Tue, 6 Dec 2016 01:56:55 +0000 (20:56 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 6 Dec 2016 16:13:53 +0000 (16:13 +0000)
commit0fb3645fedf3596360af1542038109a3f7fa2e6d
tree911af421d92342fd531f275aa64f69f032c2dfee
parent4c8fc92aa02dbbd474009b61ca54cf49ef29da56
pull: Write .commitpartial for local pulls first too

This is what we do for non-local (i.e. HTTP) pulls; we wnat to
correctly handle being interrupted during partial pulls.

Closes: https://github.com/ostreedev/ostree/issues/579
Closes: #613
Approved by: jlebon
src/libostree/ostree-repo-pull.c